home *** CD-ROM | disk | FTP | other *** search
/ Magnum One / Magnum One (Mid-American Digital) (Disc Manufacturing).iso / d27 / clutil19.arc / MANUAL.TXT < prev    next >
Encoding:
Text File  |  1990-08-09  |  9.7 KB  |  291 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.                         The Command Line Utilities
  7.                                 Version 1.9
  8.  
  9.                                      by
  10.  
  11.                                 Erik Skamser
  12.                             Digital Data Systems
  13.                        343 S. Dearborn St., Suite 902
  14.                           Chicago, Illinois 60604
  15.                              ph. (312) 427-1262
  16.  
  17.                             CompuServe 70521,260
  18.  
  19.                                 (c)1989, 1990
  20.                              All Rights Reserved
  21.  
  22.  
  23.  
  24.  
  25. INTRODUCTION
  26. ------------
  27.  
  28. The Command Line Utilities are some simple programs that make working on
  29. personal computers -- at the command line -- just a little easier.  These
  30. days talk of "Graphical User Interfaces" is very seductive; however, for the
  31. time being these GUI's are still inadequate for getting real work done.
  32. Perhaps the Presentation Manager for OS/2 or the next version of Microsoft
  33. Windows will change it all.  However, for now most PC users are still finding
  34. the need to be familiar with DOS commands and a variety of utility programs at
  35. the command line.
  36.  
  37. This is version 1.9 of The Command Line Utilities.  (I have fixed some bugs
  38. and optimized the code for size since version 1.0.)  These utilities were
  39. created with the idea that often the simplest program is the best.  They are
  40. meant to be useful and intuitively obvious, so that recourse to the manual
  41. (such as it is) will seldom be necessary.
  42.  
  43. This is the final version of The Command Line Utilities in its present form.
  44. Watch for other products from Digital Data Systems!
  45.  
  46.  
  47.  
  48. MOVE.EXE
  49. --------
  50.  
  51. Have you ever understood why there isn't a DOS file called MOVE?  I haven't.
  52. In fact, I haven't been able to find a shareware or public domain MOVE program
  53. either, except as part of a complex DOS shell.  For those of us who work at
  54. the DOS prompt sometimes, it's actually no better (perhaps worse) to call up a
  55. shell just to move one or two files than to just go ahead and copy and delete
  56. them.  So I wrote a MOVE utility; actually two of them (see MOVESAFE.EXE).
  57.  
  58. MOVE.EXE does just what you'd think it would; you just type 
  59.  
  60.       MOVE [d:][path]filename [d:][path]filename
  61.  
  62. and the file(s) are moved.  The DOS wildcards * and ? are supported.  If you
  63. wish to move a file into the current (default) directory, there's no need to
  64. repeat the filename; the file will be copied into the current directory and
  65. the original file deleted, if and only if the copy is successful.  Further,
  66. MOVE.EXE will only overwrite a file with a file the same age or newer.  It
  67. checks the file creation dates to be sure you're not replacing a newer file
  68. with an older one.  But be careful not to move a file from and to the current
  69. directory.  "MOVE filename.ext" (when filename.ext is already in the current
  70. directory) will copy AND THEN DELETE the file!  It does warn you first; if you
  71. see the "Careful!..." error message, please do be careful.  This is the
  72. situation it refers to.  Simply press the letter C while holding down the Ctrl
  73. key to abort the process.
  74.  
  75. The usual DOS rules for copying and deleting apply.  So be careful; I once did
  76. this:
  77.        MOVE filename.ext \utils
  78.  
  79. but I misspelled the name of the directory (it was \util).  I ended up with my
  80. file in the root directory of the current drive, renamed "utils"!
  81.  
  82.  
  83.  
  84. MOVESAFE.EXE
  85. ------------
  86.  
  87. I wrote MOVESAFE.EXE out of a fear that I might have two completely different
  88. files with the same name; it does happen sometimes.  How many READ.ME files
  89. have you seen, for example?
  90.  
  91. MOVESAFE.EXE takes the safety feature of MOVE.EXE (overwriting files only with
  92. newer versions) one step further and refuses ever to overwrite any file.
  93.  
  94. However, there's a price to pay for this; you must always specify the target
  95. filename with MOVESAFE.EXE.  If you don't specify two complete filenames,
  96. MOVESAFE.EXE will refuse to do anything at all.  So if you don't mind a little
  97. extra typing, MOVESAFE.EXE will provide that little bit of added security.  As
  98. with MOVE.EXE, the syntax is:
  99.  
  100.       MOVESAFE [d:][path]filename [d:][path]filename
  101.  
  102. You may want to rename MOVESAFE.EXE to MOVE.EXE (or just M.EXE) for
  103. convenience. 
  104.  
  105.  
  106.  
  107. EXTRACT.EXE
  108. -----------
  109.  
  110. Have you ever had trouble remembering the syntax to use in extracting a .ZOO
  111. file as opposed to a .ZIP file as against a .PAK file?  How about a file
  112. you've just downloaded from your favorite BBS which has an .SDN extension?
  113. Well all of the programs needed to make these compressed files functional with
  114. all of their different command-line switches can be confusing.  So I wrote
  115. EXTRACT.EXE which does it all for you!
  116.  
  117. EXTRACT.EXE works with the appropriate shareware programs to automatically
  118. extract .ARC, .ZIP, .PAK, .SDA, .SDN, .DWC, .LZH, and .ZOO files.  All you
  119. have to remember now is that you must type:
  120.           
  121.         EXTRACT [d:][path]filename
  122.  
  123. and be sure not to use the filename extension, since EXTRACT.EXE determines
  124. that for you.  That's it!
  125.  
  126. EXTRACT.EXE doesn't do all the work of extracting these files by itself,
  127. though; it relies on the programs written by the authors of the various
  128. compression formats to work with it to do the job.  The file names required to
  129. be in a subdirectory listed in your PATH along with the complete shareware
  130. files that contain them are as follows for each format:
  131.  
  132.  
  133. Extension     File Name                      Parent File
  134. ---------     ---------                      -----------
  135.  
  136. .ARC          PAK.EXE and PAK.CNF            PAK210.EXE
  137.  
  138. .ZIP          PKUNZIP.EXE                    PKZ110.EXE
  139.  
  140. .PAK          PAK.EXE and PAK.CNF            PAK210.EXE
  141.  
  142. .SDA          PAK.EXE and PAK.CNF            PAK210.EXE
  143.  
  144. .SDN          PAK.EXE and PAK.CNF            PAK210.EXE
  145.  
  146. .ZOO          LOOZ.EXE                       LOOZ210.ZIP
  147.  
  148. .DWC          DWC.EXE                        DWC501.EXE
  149.  
  150. .LZH          LHARC.EXE                      LH114B.EXE
  151.  
  152.  
  153. Please note that if the appropriate shareware files are not in your path you
  154. will get a "Bad command or filename" error message when using EXTRACT.EXE and
  155. your file will not be extracted.
  156.  
  157.  
  158.  
  159. PRINTIT.EXE
  160. -----------
  161.  
  162. By first logging onto the drive and directory that contains The Command Line
  163. Utilities (in particular, PRINTIT.EXE and MANUAL.TXT) and typing PRINTIT, the
  164. manual will automatically print to your printer, if it is connected to printer
  165. port LPT1.  If you don't know which port your printer is connected to, it's
  166. probably LPT1 so go ahead and use this utility.
  167.  
  168. If your printer is connected to LPT2, use the utility PRINT2.EXE.
  169.  
  170.  
  171. HISTORY
  172. -------
  173.  
  174. Version 1.0 - MOVE, MOVESAFE, EXTRACT, PRINTIT, PRINT2 released November 1989
  175.  
  176. Version 1.1 - Fixed a minor bug in EXTRACT
  177.  
  178. Version 1.2 - Added an error message to MOVE that warned against moving a file
  179.               to and from the default directory and thereby losing it
  180.  
  181. Version 1.3 - Added EXTRACT support for .DWC and .LZH files as well as
  182.               bulletproofing by allowing (presumably inadvertent) use with
  183.               self-extracting .COM and .EXE files
  184.  
  185. Version 1.31  Minor bug fix
  186.  
  187. Version 1.32  Reduced .EXE disk file size for all programs, approximately 30%.
  188.  
  189. Version 1.33  Fixed a problem with EXTRACT handling .PAK files
  190.  
  191. Version 1.9   Fixed a problem with EXTRACT handling some older .ARC files
  192.  
  193.  
  194. REGISTRATION
  195. ------------
  196.  
  197. Please register your copy of The Command Line Utilities if you find one or
  198. more of them useful.  A good rule of thumb is that if you find yourself using
  199. them even occasionally after 30 days, register.  If, however, you've deleted
  200. them from your hard drive... well, then don't register.
  201.  
  202. Registration is $5.00 for the complete set, and will get you (optionally) a
  203. disk with the most recent version of all the utilities plus the on-disk
  204. manual.
  205.  
  206. If you would also like the shareware file extraction utilities listed above,
  207. enclose an additional $1.00 and I will send them to you as well.  I have no
  208. connection whatsoever with the authors of those shareware programs and I
  209. provide them in their original forms simply as a convenience to you.  There
  210. are additional registration fees connected with these programs.
  211.  
  212. You may fill out the form at the end of this manual as an easy way to
  213. register. 
  214.  
  215.  
  216.  
  217. DISCLAIMER
  218. ----------
  219.  
  220. The Command Line Utilities are provided as-is, with absolutely no guarantee or
  221. warranty of any kind.  There is no verbal or implied warranty and none should
  222. be inferred.  The author cannot be held responsible for any damages resulting
  223. from the use of any of The Command Line Utilities.
  224.  
  225.  
  226.  
  227. REGISTRATION FORM
  228. -----------------
  229.  
  230.  
  231.  
  232.  
  233. ===============================================================================
  234.  
  235.                             REGISTRATION FORM
  236.  
  237.                        The Command Line Utilities
  238.                                Version 1.9
  239.  
  240.  
  241. _____ I enclose $_____ for _____ copies of The Command Line Utilities @ $5.00.
  242.  
  243. _____ $1.00 is also enclosed for one copy of all of the shareware extracting
  244.       utilities  PK361.EXE, PKZ110.EXE, PAK210.EXE, DWC501.EXE, LH114B.EXE,
  245.       and LOOZ210.ZIP (or newer versions).
  246.  
  247. Send me  [] 5.25"  or  [] 3.5" disk(s)
  248.  
  249.  
  250. NAME ________________________________________________________________________
  251.  
  252. ADDRESS _____________________________________________________________________
  253.  
  254.         CITY________________________________STATE_______________ZIP__________
  255.  
  256.  
  257. Please make your check or money order payable to Digital Data Systems and mail
  258. to:
  259.  
  260.       Erik Skamser
  261.       Digital Data Systems
  262.       343 S. Dearborn, Suite 902
  263.       Chicago, IL  60604
  264.  
  265.  
  266. Comments:
  267.  
  268.  
  269.  
  270.  
  271.  
  272.  
  273.  
  274.  
  275.  
  276.  
  277.  
  278.  
  279.  
  280.  
  281.  
  282.  
  283.  
  284.  
  285.  
  286.  
  287.  
  288.  
  289.  
  290. ===============================================================================
  291.